<script setup lang="ts">
</script>

<template>
  <div class="message_window">
    <MWindowTitle></MWindowTitle>
    <div class="content">
      <div class="left">
        <!--        消息展示板块-->
        <el-scrollbar max-height="60%" class="message_show_box"></el-scrollbar>
        <!--        消息发送板块-->
        <div class="message_send_box"></div>
      </div>

      <div class="right">
        <!--        描述板块-->
        <div class="description"></div>
        <!--        群成员板块-->
        <div class="item_group"></div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">

$border-color: rgb(27, 27, 27);

.message_window {
  position: relative;
  height: calc(100vh - 25px);
  box-sizing: border-box;

  .content {
    padding-top: 35px;
    height: calc(100vh - 25px);
    width: 100%;
    display: flex;
    box-sizing: border-box;
    border-top: 1px solid $border-color;

    .left {
      height: 100%;
      width: 70%;
      box-sizing: border-box;
      border-right: 1px solid $border-color;

      .message_show_box {
        height: 70%;
        box-sizing: border-box;
        //background-color: skyblue;
        border-bottom: 1px solid $border-color;
      }
    }

    .right {
      width: 30%;
    }
  }
}
</style>